home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’95 / ProcessBar™ / Code / Sources / sample drag.h < prev    next >
Encoding:
Text File  |  1995-09-10  |  730 b   |  25 lines  |  [TEXT/MMCC]

  1. // File "sample win.h" - 
  2.  
  3. #ifndef ____SAMPLE_DRAG_HEADER____
  4. #define ____SAMPLE_DRAG_HEADER____
  5.  
  6. #ifndef __DRAG__
  7. #include <Drag.h>
  8. #endif  __DRAG__
  9.  
  10. // * ****************************************************************************** *
  11. // * ****************************************************************************** *
  12. // Function Prototypes
  13.  
  14. void SetupDragHandlers(WindowPtr win);
  15. short SampleWindowDrag(EventRecord *theEvent, WindowPtr win);
  16.  
  17. pascal OSErr SampleTrackingHandler(DragTrackingMessage message, WindowPtr win,
  18.         void *refcon, DragReference dragRef);
  19. pascal OSErr SampleReceiveHandler(WindowPtr win, void *refcon, DragReference dragRef);
  20.  
  21. RgnHandle NewDragRgn(WindowPtr win);
  22.  
  23. #endif  ____SAMPLE_DRAG_HEADER____
  24.  
  25.